package com.hdoit.apollo.logical.inventory.model;

import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.tennetcn.data.message.ModelBase;
/**
 * @author      tancongzhu
 * @email       
 * @createtime  2018年04月09日 15:14:53
 * @comment
 */

@Entity
@Table(name="stock_inventory")
public class Inventory extends ModelBase{
    /**
     *Id
     */
    @Id
    @Column(name="inventoryId")
    private String inventoryId;

    /**
     *盘点状态(此为盘点类型状态)
     */
    @Column(name="inventoryState")
    private String inventoryState;
    
    //结束类型(此为盘点类型状态)
    @Column(name="endType")
    private String endType;
    
    //调整码
    @Column(name="adjustmentNo")
    private String adjustmentNo;
    
    //盘点类型（区分盘点和调整）
    @Column(name="inventoryType")
    private String inventoryType;

    /**
     *盘点单号
     */
    @Column(name="inventoryNo")
    private String inventoryNo;

    /**
     *盘盈数
     */
    @Column(name="overageNum")
    private Double overageNum;

    /**
     *盘亏数
     */
    @Column(name="lossNum")
    private Double lossNum;

    /**
     *实际数
     */
    @Column(name="actualNum")
    private Double actualNum;

    /**
     *账面数
     */
    @Column(name="bookNum")
    private Double bookNum;

    /**
     *盘盈种类数
     */
    @Column(name="overageTypeNum")
    private Integer overageTypeNum;

    /**
     *盘亏种类数数
     */
    @Column(name="lossTypeNum")
    private Integer lossTypeNum;

    /**
     *实际种类数
     */
    @Column(name="actuaTypelNum")
    private Integer actuaTypelNum;

    /**
     *账面种类数
     */
    @Column(name="bookTypeNum")
    private Integer bookTypeNum;

    /**
     *门店id
     */
    @Column(name="shopId")
    private String shopId;

    /**
     *创建时间
     */
    @Column(name="createDate")
    private Date createDate;

    /**
     *创建人id
     */
    @Column(name="createUserId")
    private String createUserId;

    /**
     *创建人名称
     */
    @Column(name="createUserName")
    private String createUserName;

    /**
     *修改时间
     */
    @Column(name="modifyDate")
    private Date modifyDate;

    /**
     *修改人id
     */
    @Column(name="modifyUserId")
    private String modifyUserId;

    /**
     *修改人名称
     */
    @Column(name="modifyUserName")
    private String modifyUserName;

    /**
     *删除标记
     */
    @Column(name="deleteMark")
    private Integer deleteMark;
    
    @Column(name="comment")
    private String comment;
    
    @Transient
    private List<InventoryStaff> inventoryStaffs;
    
    //出入库识别标签
    @Transient
    private String remark;
    
    //盘点配件Ids
    @Transient
    private String adjustmentCargoId;
    
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getAdjustmentCargoId() {
		return adjustmentCargoId;
	}
	public void setAdjustmentCargoId(String adjustmentCargoId) {
		this.adjustmentCargoId = adjustmentCargoId;
	}
	public String getInventoryType() {
		return inventoryType;
	}
	public void setInventoryType(String inventoryType) {
		this.inventoryType = inventoryType;
	}
	public String getEndType() {
		return endType;
	}
	public void setEndType(String endType) {
		this.endType = endType;
	}
	public String getAdjustmentNo() {
		return adjustmentNo;
	}
	public void setAdjustmentNo(String adjustmentNo) {
		this.adjustmentNo = adjustmentNo;
	}
	
	public List<InventoryStaff> getInventoryStaffs() {
		return inventoryStaffs;
	}
	public void setInventoryStaffs(List<InventoryStaff> inventoryStaffs) {
		this.inventoryStaffs = inventoryStaffs;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public String getInventoryId(){
        return this.inventoryId;
    }
    public void setInventoryId(String inventoryId){
         this.inventoryId=inventoryId;
    }

    public String getInventoryState(){
        return this.inventoryState;
    }
    public void setInventoryState(String inventoryState){
         this.inventoryState=inventoryState;
    }

    public String getInventoryNo(){
        return this.inventoryNo;
    }
    public void setInventoryNo(String inventoryNo){
         this.inventoryNo=inventoryNo;
    }

    public Double getOverageNum(){
        return this.overageNum;
    }
    public void setOverageNum(Double overageNum){
         this.overageNum=overageNum;
    }

    public Double getLossNum(){
        return this.lossNum;
    }
    public void setLossNum(Double lossNum){
         this.lossNum=lossNum;
    }

    public Double getActualNum(){
        return this.actualNum;
    }
    public void setActualNum(Double actualNum){
         this.actualNum=actualNum;
    }

    public Double getBookNum(){
        return this.bookNum;
    }
    public void setBookNum(Double bookNum){
         this.bookNum=bookNum;
    }

    public Integer getOverageTypeNum(){
        return this.overageTypeNum;
    }
    public void setOverageTypeNum(Integer overageTypeNum){
         this.overageTypeNum=overageTypeNum;
    }

    public Integer getLossTypeNum(){
        return this.lossTypeNum;
    }
    public void setLossTypeNum(Integer lossTypeNum){
         this.lossTypeNum=lossTypeNum;
    }

    public Integer getActuaTypelNum(){
        return this.actuaTypelNum;
    }
    public void setActuaTypelNum(Integer actuaTypelNum){
         this.actuaTypelNum=actuaTypelNum;
    }

    public Integer getBookTypeNum(){
        return this.bookTypeNum;
    }
    public void setBookTypeNum(Integer bookTypeNum){
         this.bookTypeNum=bookTypeNum;
    }

    public String getShopId(){
        return this.shopId;
    }
    public void setShopId(String shopId){
         this.shopId=shopId;
    }

    public Date getCreateDate(){
        return this.createDate;
    }
    public void setCreateDate(Date createDate){
         this.createDate=createDate;
    }

    public String getCreateUserId(){
        return this.createUserId;
    }
    public void setCreateUserId(String createUserId){
         this.createUserId=createUserId;
    }

    public String getCreateUserName(){
        return this.createUserName;
    }
    public void setCreateUserName(String createUserName){
         this.createUserName=createUserName;
    }

    public Date getModifyDate(){
        return this.modifyDate;
    }
    public void setModifyDate(Date modifyDate){
         this.modifyDate=modifyDate;
    }

    public String getModifyUserId(){
        return this.modifyUserId;
    }
    public void setModifyUserId(String modifyUserId){
         this.modifyUserId=modifyUserId;
    }

    public String getModifyUserName(){
        return this.modifyUserName;
    }
    public void setModifyUserName(String modifyUserName){
         this.modifyUserName=modifyUserName;
    }

    public Integer getDeleteMark(){
        return this.deleteMark;
    }
    public void setDeleteMark(Integer deleteMark){
         this.deleteMark=deleteMark;
    }

}